package core

import "away.wei/minidevpos/httpapi"

type CoreGroup struct {
	GinRouter
	GinServer
	GinWebSocket
}

var (
	CoreGroupApp       = new(CoreGroup)
	ginRouter          = new(GinRouter)
	ginWebSocketRouter = new(GinWebSocketRouter)
	GinWS              = new(GinWebSocket)

	// web api
	demoApi          = httpapi.HttpApiGroupApp.DemoApi
	serverApi        = httpapi.HttpApiGroupApp.ServerApi
	configrationApi  = httpapi.HttpApiGroupApp.ConfigrationApi
	projectApi       = httpapi.HttpApiGroupApp.ProjectApi
	projectBuildApi  = httpapi.HttpApiGroupApp.ProjectBuildApi
	projectDeployApi = httpapi.HttpApiGroupApp.ProjectDeployApi
	projectTaskApi   = httpapi.HttpApiGroupApp.ProjectTaskApi

	// websocket api
	devopsWS = httpapi.HttpApiGroupApp.DevopsWS
)
